<?php

namespace haibao\erp\model\filter\product;

class Product extends \haibao\cms\model\filter\Base{

	public function __construct(){
		parent::__construct('\haibao\erp\model\data\product\Product');
	}
	const CONDITION_FIELD_NAME_BRAND_ID = 'BrandId';
	const CONDITION_FIELD_NAME_CATEGORY_ID ='CategoryId';
	const CONDITION_FIELD_NAME_PRODUCT_NAME = 'ProductName';
	const CONDITION_FIELD_NAME_TITLE = 'Title';
	const CONDITION_FIELD_NAME_PRODUCT_TYPE = 'ProductType';

	const CONDITION_FIELD_NAME_TOTAL_STOCK = 'TotalStock';
	const CONDITION_FIELD_NAME_STATUS ='Status';
	const CONDITION_FIELD_NAME_UPDATETIME ='UpdateTime';
	const CONDITION_FIELD_NAME_CREATETIME ='CreateTime';
	const CONDITION_FIELD_NAME_CREATE_BY ='CreateBy';
	const CONDITION_FIELD_NAME_UPDATE_BY ='UpdateBy';
	
	const CONDITION_FIELD_NAME_CATEGORY_PROPERTY ='CategoryProperty';
	const CONDITION_FIELD_NAME_CATEGORY_NAME ='CategoryName';
	const CONDITION_FIELD_NAME_CREATE_NAME ='UserName';
	const CONDITION_FIELD_NAME_BRAND_NAME ='BrandName';
	const CONDITION_FIELD_NAME_PRODUCT_MODEL ='ProductModel';
    const CONDITION_FIELD_NAME_BRAND_MODELS = "BrandModels";
    const CONDITION_FIELD_NAME_PRODUCT_CONTENT_INFO = "ProductContentInfo";
}